As it is very difficult to get this informations from Lotus script, it is very easy to get this in an eclipse plugin. In my company we use a small auto start plugin which writes all our installed bundles with version infos to a file and then we mail this file to a central mail in database
FileWriter writer = new FileWriter(new File(System.getenv("TEMP") + File.separator
+ "SoftwareInventory.txt"), true);
for (Bundle bundle : Activator.getDefault().getContext().getBundles()) {
Dictionary<String, String> headers = bundle.getHeaders();
if (headers.get("Bundle-Vendor") != null && headers.get("Bundle-Vendor").contains("Company Name")) {
writer.write(headers.get("Bundle-Name") + "|" + headers.get("Bundle-Version") + "|" + "|"
+ headers.get("Bundle-Vendor") + "| |" + "\r\n");
}
}
writer.close();
As you can see the central Part of this plugin are only a view lines.
Ralf M Petter www.everyhtingaboutit.eu